// ES11之前 max_safe_integer
const maxInt = Number.MAX_SAFE_INTEGER
console.log(maxInt);
console.log(maxInt + 1);
console.log(maxInt + 2);

// ES11之后 BigInt
const bigInt = 9007199254740991n
console.log(BigInt + 10n);

const num = 100
console.log(bigInt + BigInt(num));

const smallNum = Number(bigInt)
console.log(smallNum);
